package com.yunfei.api.message.responseBody;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: zntg_v1
 * @description:
 * @author: zhengyunfei
 * @create: 2018-10-30 10:48
 **/
@Data
public class LoginAndRegiterResult implements java.io.Serializable{
    @ApiModelProperty(value = "返回编码<br>code=2037,message=手机号码不能为空;<br>code=1004,message=手机号码格式错误;<br>code=1008,message=验证码错误;<br>code=10081,message=验证码不能为空")
    private String code;
    @ApiModelProperty(value = "返回message")
    private String message;
    @ApiModelProperty(value = "当code=0的时候，返回token")
    private TokenReturn data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public TokenReturn getData() {
        return data;
    }

    public void setData(TokenReturn data) {
        this.data = data;
    }
}
